﻿// // ******************************************************************
// //       /\ /|       @file       GetExternalTranslation.cs
// //       \ V/        @brief      await29
// //       | "")       @author     Await, 285283010@qq.com
// //       /  |
// //      /  \\        @Modified   2025-02-22 20:02
// //    *(__\_\        @Copyright  Copyright (c) , 2025-02-04 14:02 Await
// // ******************************************************************

namespace AutomaticSubtitles.Service.Application.Translate.Queries;

/// <summary>
/// 获取外部翻译
/// </summary>
/// <param name="data"></param>
/// <param name="languageType"></param>
/// <param name="commandLanguageType"></param>
public record GetExternalTranslation(IEnumerable<KeyValuePair<int, string>> data, string? languageType, string? commandLanguageType, bool compulsory = false)
    : Query<(int Key, string)
        []?>
{
    public override (int Key, string)[]? Result { get; set; }
}